package com.yu.rpc.core.fault.tolerant;

import com.yu.rpc.core.model.RPCResponse;

import java.util.Map;

/**
 * 容错机制
 */
public interface TolerantStrategy {
    RPCResponse doTolerant(Map<String, Object> context, Exception e);
}
